<!DOCTYPE html>
<html>

<<<<<<< HEAD
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta id="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
    <meta name="apple-themes-web-app-capable" content="yes">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="black" name="apple-mobile-web-app-status-bar-style">
    <meta content="telephone=no" name="format-detection">
    <meta content="email=no" name="format-detection">
    <meta name="format-detection" content="telephone=no">
    <title>最新开奖</title>
    <link rel="stylesheet" href="css/main.css" type="text/css" media="all">
</head>
<!--<span id="hour_show">4</span>&nbsp;<em>:</em>&nbsp;<span id="minute_show">0</span>&nbsp;&nbsp;<em>:</em>&nbsp;<span id="second_show">0</span>-->
<body>

<!--页面加载 开始-->
<div id="preloader">
    <div id="status">
        <p class="center-text"><span>拼命加载中···</span></p>
    </div>
</div>
<!--页面加载 结束-->
<header id="header">
    <div class="header_con">
        <a href="javascript:history.go(-1);"><span></span></a>
        <div class="top_tit">最新开奖</div>
    </div>
</header>

<div id="content_div" >
    <div class="home_all_box">

        <div class="home_kj_box clearfixd">
            @foreach($rows as $rows)
                <ul>
                    <li><a href="3.2.html"><img src="{{$rows->img}}" /></a></li>
                    <dl>
                        <dt>{{$rows->name}}</dt>
                        <dd>
                            <p><span>期</span>号：{{$rows->issueNumber}}</p>
                            <div class="div_djs">
                                开奖倒计时：<span id="hour_show">4</span>&nbsp;<em>:</em>&nbsp;<span id="minute_show">0</span>&nbsp;&nbsp;<em>:</em>&nbsp;<span id="second_show">0</span>
                            </div>
                        </dd>
                    </dl>
                </ul>
            @endforeach

        </div>

        <div class="home_cp_bot"><img src="images/bot_01.png" />正在加载...</div>
=======
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta id="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
		<meta name="apple-themes-web-app-capable" content="yes">
		<meta content="yes" name="apple-mobile-web-app-capable">
		<meta content="black" name="apple-mobile-web-app-status-bar-style">
		<meta content="telephone=no" name="format-detection">
		<meta content="email=no" name="format-detection">
		<meta name="format-detection" content="telephone=no">
		<title>最新开奖</title>
		<link rel="stylesheet" href="css/main.css" type="text/css" media="all">

	</head>
>>>>>>> 366540ec540c2c541e116cfa63e7c774b17b711b


    </div>
<<<<<<< HEAD

</div>
<!--底部-->
<!--底部结束-->

<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript">
    var intDiff = parseInt(14400); //倒计时总秒数量

    function timer(intDiff) {
        window.setInterval(function() {
            var day = 0,
                hour = 0,
                minute = 0,
                second = 0; //时间默认值

            if (intDiff > 0) {
                day = Math.floor(intDiff / (60 * 60 * 24));
                hour = Math.floor(intDiff / (60 * 60)) - (day * 24);
                minute = Math.floor(intDiff / 60) - (day * 24 * 60) - (hour * 60);
                second = Math.floor(intDiff) - (day * 24 * 60 * 60) - (hour * 60 * 60) - (minute * 60);
            }
            if (minute <= 9) minute = '0' + minute;
            if (second <= 9) second = '0' + second;
            $('#hour_show').html(hour);
            $('#minute_show').html(minute);
            $('#second_show').html(second);
            intDiff--;
        }, 1000);
    }

    $(function() {
        timer(intDiff);
    });

</script>
</body>
</html>
=======
    <!--页面加载 结束-->
		<header id="header">
			<div class="header_con">
				<a href="javascript:history.go(-1);"><span></span></a>
                <div class="top_tit">最新开奖</div>
			</div>
		</header>

		<div id="content_div" >
            <div class="home_all_box">

            <div class="home_kj_box clearfixd">
              <ul>
               <li><a href="3.2.html"><img src="images/cp01.jpg" /></a></li>
               <dl>
               <dt>移动500元充值卡</dt>
               <dd>
                 <p><span>期</span>号：3328</p>
                 <div class="div_djs">
                     <div id="count">
                 开奖倒计时：<span class="hour">0</span><em>:</em><span class="min">0</span><em>:</em><span class="sec">0</span>
                 </div>
                 </div>
               </dd>
               </dl>
              </ul>

              <ul>
               <li><img src="images/cp02.jpg" /></li>
                <dl>
               <dt>iPhone6金色128G超大内存抢购</dt>
               <dd>
                 <p><span>期</span>号：3328</p>
                 <div class="div_djs">
                 开奖倒计时：<span class="hour">0</span><em>:</em><span class="min">0</span><em>:</em><span class="sec">0</span>
                 </div>
               </dd>
               </dl>
              </ul>

              <ul>
               <li><img src="images/cp03.jpg" /></li>
               <dl>
               <dt>42毫米玫瑰金铝金属表壳搭配白色运动型表带 新...</dt>
               <dd>
                 <p><span>期</span>号：3328</p>
                 <p><em>获奖</em>者：潇洒哥</p>
                 <p>幸运号码：10003488</p>
               </dd>
               </dl>
              </ul>

              <ul>
               <li><img src="images/cp04.jpg" /></li>
                <dl>
               <dt>移动100元充值卡新狂飙场新狂飙场</dt>
               <dd>
                 <p><span>期</span>号：3328</p>
                 <p><em>获奖</em>者：潇洒哥</p>
                 <p>幸运号码：10003488</p>
               </dd>
               </dl>
              </ul>

               <ul>
               <li><img src="images/cp05.jpg" /></li>
               <dl>
               <dt>iPad mini 4 硅胶保护壳</dt>
               <dd>
                 <p><span>期</span>号：3328</p>
                 <p><em>获奖</em>者：潇洒哥</p>
                 <p>幸运号码：10003488</p>
               </dd>
               </dl>
              </ul>

              <ul>
               <li><img src="images/cp06.jpg" /></li>
                <dl>
               <dt>Beats Solo2无线头盔式耳机炫酷玫瑰金</dt>
               <dd>
                 <p><span>期</span>号：3328</p>
                 <p><em>获奖</em>者：潇洒哥</p>
                 <p>幸运号码：10003488</p>
               </dd>
               </dl>
              </ul>
             </div>

             <div class="home_cp_bot"><img src="images/bot_01.png" />正在加载...</div>


		</div>

      </div>
            <!--底部-->
			<!--底部结束-->

           <script type="text/javascript" src="js/jquery.min.js"></script>
		  <script type="text/javascript" src="js/common.js"></script>
	</body>

</html>
<script>
    //时间对象
    //
    var ocount = document.getElementById('count');
    var spans = ocount.getElementsByTagName('span');
    //未来时间
    var endTime = new Date('2020/12/30 00:00:00');
    var timer = null;
    //清除
    clearInterval(timer);
    timer = setInterval(countime,1000);
    function countime(){
    //当前时间
    var nowTime = new Date();
    //未来的时间-现在时间=时间差
    var lastTime = parseInt((endTime - nowTime)/1000);
    if(lastTime <= 0){clearInterval(timer);}
    var hour = parseInt(lastTime/60/60%24);//时
    var min = parseInt(lastTime/60%60);//分
    var sec = parseInt(lastTime%60);//秒
    //输出时分秒
    spans[0].innerHTML = hour;
    spans[1].innerHTML = min;
    spans[2].innerHTML = sec;
}

</script>
>>>>>>> 366540ec540c2c541e116cfa63e7c774b17b711b
